package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MrTransfusionObservationExample {
    /**
     * MR_TRANSFUSION_OBSERVATION
     */
    protected String orderByClause;

    /**
     * MR_TRANSFUSION_OBSERVATION
     */
    protected boolean distinct;

    /**
     * MR_TRANSFUSION_OBSERVATION
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2020-09-29
     */
    public MrTransfusionObservationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * MR_TRANSFUSION_OBSERVATION 2020-09-29
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andParentNumberIsNull() {
            addCriterion("PARENT_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andParentNumberIsNotNull() {
            addCriterion("PARENT_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andParentNumberEqualTo(Long value) {
            addCriterion("PARENT_NUMBER =", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberNotEqualTo(Long value) {
            addCriterion("PARENT_NUMBER <>", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberGreaterThan(Long value) {
            addCriterion("PARENT_NUMBER >", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("PARENT_NUMBER >=", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberLessThan(Long value) {
            addCriterion("PARENT_NUMBER <", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberLessThanOrEqualTo(Long value) {
            addCriterion("PARENT_NUMBER <=", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberIn(List<Long> values) {
            addCriterion("PARENT_NUMBER in", values, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberNotIn(List<Long> values) {
            addCriterion("PARENT_NUMBER not in", values, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberBetween(Long value1, Long value2) {
            addCriterion("PARENT_NUMBER between", value1, value2, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberNotBetween(Long value1, Long value2) {
            addCriterion("PARENT_NUMBER not between", value1, value2, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNull() {
            addCriterion("SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNotNull() {
            addCriterion("SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER =", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER <>", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThan(Long value) {
            addCriterion("SERIAL_NUMBER >", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER >=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThan(Long value) {
            addCriterion("SERIAL_NUMBER <", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER <=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIn(List<Long> values) {
            addCriterion("SERIAL_NUMBER in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotIn(List<Long> values) {
            addCriterion("SERIAL_NUMBER not in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberBetween(Long value1, Long value2) {
            addCriterion("SERIAL_NUMBER between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("SERIAL_NUMBER not between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNull() {
            addCriterion("MEDICAL_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNotNull() {
            addCriterion("MEDICAL_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassEqualTo(String value) {
            addCriterion("MEDICAL_CLASS =", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <>", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThan(String value) {
            addCriterion("MEDICAL_CLASS >", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS >=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThan(String value) {
            addCriterion("MEDICAL_CLASS <", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLike(String value) {
            addCriterion("MEDICAL_CLASS like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotLike(String value) {
            addCriterion("MEDICAL_CLASS not like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIn(List<String> values) {
            addCriterion("MEDICAL_CLASS in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotIn(List<String> values) {
            addCriterion("MEDICAL_CLASS not in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS not between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNull() {
            addCriterion("ORGANIZATION_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNotNull() {
            addCriterion("ORGANIZATION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdEqualTo(String value) {
            addCriterion("ORGANIZATION_ID =", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <>", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThan(String value) {
            addCriterion("ORGANIZATION_ID >", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID >=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThan(String value) {
            addCriterion("ORGANIZATION_ID <", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLike(String value) {
            addCriterion("ORGANIZATION_ID like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotLike(String value) {
            addCriterion("ORGANIZATION_ID not like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIn(List<String> values) {
            addCriterion("ORGANIZATION_ID in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotIn(List<String> values) {
            addCriterion("ORGANIZATION_ID not in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID not between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNull() {
            addCriterion("ORGANIZATION is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNotNull() {
            addCriterion("ORGANIZATION is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationEqualTo(String value) {
            addCriterion("ORGANIZATION =", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotEqualTo(String value) {
            addCriterion("ORGANIZATION <>", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThan(String value) {
            addCriterion("ORGANIZATION >", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION >=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThan(String value) {
            addCriterion("ORGANIZATION <", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION <=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLike(String value) {
            addCriterion("ORGANIZATION like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotLike(String value) {
            addCriterion("ORGANIZATION not like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationIn(List<String> values) {
            addCriterion("ORGANIZATION in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotIn(List<String> values) {
            addCriterion("ORGANIZATION not in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationBetween(String value1, String value2) {
            addCriterion("ORGANIZATION between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION not between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNull() {
            addCriterion("BRANCH_ID is null");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNotNull() {
            addCriterion("BRANCH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBranchIdEqualTo(String value) {
            addCriterion("BRANCH_ID =", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotEqualTo(String value) {
            addCriterion("BRANCH_ID <>", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThan(String value) {
            addCriterion("BRANCH_ID >", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID >=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThan(String value) {
            addCriterion("BRANCH_ID <", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID <=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLike(String value) {
            addCriterion("BRANCH_ID like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotLike(String value) {
            addCriterion("BRANCH_ID not like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdIn(List<String> values) {
            addCriterion("BRANCH_ID in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotIn(List<String> values) {
            addCriterion("BRANCH_ID not in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdBetween(String value1, String value2) {
            addCriterion("BRANCH_ID between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotBetween(String value1, String value2) {
            addCriterion("BRANCH_ID not between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNull() {
            addCriterion("MR_ID is null");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNotNull() {
            addCriterion("MR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMrIdEqualTo(String value) {
            addCriterion("MR_ID =", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotEqualTo(String value) {
            addCriterion("MR_ID <>", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThan(String value) {
            addCriterion("MR_ID >", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThanOrEqualTo(String value) {
            addCriterion("MR_ID >=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThan(String value) {
            addCriterion("MR_ID <", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThanOrEqualTo(String value) {
            addCriterion("MR_ID <=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLike(String value) {
            addCriterion("MR_ID like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotLike(String value) {
            addCriterion("MR_ID not like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdIn(List<String> values) {
            addCriterion("MR_ID in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotIn(List<String> values) {
            addCriterion("MR_ID not in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdBetween(String value1, String value2) {
            addCriterion("MR_ID between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotBetween(String value1, String value2) {
            addCriterion("MR_ID not between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("ID_CARD is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("ID_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("ID_CARD =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("ID_CARD <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("ID_CARD >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("ID_CARD >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("ID_CARD <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("ID_CARD <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("ID_CARD like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("ID_CARD not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("ID_CARD in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("ID_CARD not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("ID_CARD between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("ID_CARD not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andStopedFlagIsNull() {
            addCriterion("STOPED_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andStopedFlagIsNotNull() {
            addCriterion("STOPED_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andStopedFlagEqualTo(String value) {
            addCriterion("STOPED_FLAG =", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotEqualTo(String value) {
            addCriterion("STOPED_FLAG <>", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagGreaterThan(String value) {
            addCriterion("STOPED_FLAG >", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagGreaterThanOrEqualTo(String value) {
            addCriterion("STOPED_FLAG >=", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagLessThan(String value) {
            addCriterion("STOPED_FLAG <", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagLessThanOrEqualTo(String value) {
            addCriterion("STOPED_FLAG <=", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagLike(String value) {
            addCriterion("STOPED_FLAG like", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotLike(String value) {
            addCriterion("STOPED_FLAG not like", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagIn(List<String> values) {
            addCriterion("STOPED_FLAG in", values, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotIn(List<String> values) {
            addCriterion("STOPED_FLAG not in", values, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagBetween(String value1, String value2) {
            addCriterion("STOPED_FLAG between", value1, value2, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotBetween(String value1, String value2) {
            addCriterion("STOPED_FLAG not between", value1, value2, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("RECORD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("RECORD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(Date value) {
            addCriterion("RECORD_TIME =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(Date value) {
            addCriterion("RECORD_TIME <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(Date value) {
            addCriterion("RECORD_TIME >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(Date value) {
            addCriterion("RECORD_TIME <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<Date> values) {
            addCriterion("RECORD_TIME in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<Date> values) {
            addCriterion("RECORD_TIME not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME not between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordCardIsNull() {
            addCriterion("RECORD_CARD is null");
            return (Criteria) this;
        }

        public Criteria andRecordCardIsNotNull() {
            addCriterion("RECORD_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andRecordCardEqualTo(String value) {
            addCriterion("RECORD_CARD =", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotEqualTo(String value) {
            addCriterion("RECORD_CARD <>", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardGreaterThan(String value) {
            addCriterion("RECORD_CARD >", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardGreaterThanOrEqualTo(String value) {
            addCriterion("RECORD_CARD >=", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLessThan(String value) {
            addCriterion("RECORD_CARD <", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLessThanOrEqualTo(String value) {
            addCriterion("RECORD_CARD <=", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLike(String value) {
            addCriterion("RECORD_CARD like", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotLike(String value) {
            addCriterion("RECORD_CARD not like", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardIn(List<String> values) {
            addCriterion("RECORD_CARD in", values, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotIn(List<String> values) {
            addCriterion("RECORD_CARD not in", values, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardBetween(String value1, String value2) {
            addCriterion("RECORD_CARD between", value1, value2, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotBetween(String value1, String value2) {
            addCriterion("RECORD_CARD not between", value1, value2, "recordCard");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNull() {
            addCriterion("CLOUD_ID is null");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNotNull() {
            addCriterion("CLOUD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCloudIdEqualTo(Long value) {
            addCriterion("CLOUD_ID =", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotEqualTo(Long value) {
            addCriterion("CLOUD_ID <>", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThan(Long value) {
            addCriterion("CLOUD_ID >", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID >=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThan(Long value) {
            addCriterion("CLOUD_ID <", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID <=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdIn(List<Long> values) {
            addCriterion("CLOUD_ID in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotIn(List<Long> values) {
            addCriterion("CLOUD_ID not in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID not between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNotNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER =", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <>", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER not in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER not between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNull() {
            addCriterion("CLOUD_CHANGE is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNotNull() {
            addCriterion("CLOUD_CHANGE is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeEqualTo(String value) {
            addCriterion("CLOUD_CHANGE =", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <>", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThan(String value) {
            addCriterion("CLOUD_CHANGE >", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE >=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThan(String value) {
            addCriterion("CLOUD_CHANGE <", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLike(String value) {
            addCriterion("CLOUD_CHANGE like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotLike(String value) {
            addCriterion("CLOUD_CHANGE not like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIn(List<String> values) {
            addCriterion("CLOUD_CHANGE in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotIn(List<String> values) {
            addCriterion("CLOUD_CHANGE not in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE not between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNull() {
            addCriterion("CLOUD_CHANGE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNotNull() {
            addCriterion("CLOUD_CHANGE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME =", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <>", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThan(Date value) {
            addCriterion("CLOUD_CHANGE_TIME >", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME >=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThan(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThanOrEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIn(List<Date> values) {
            addCriterion("CLOUD_CHANGE_TIME in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotIn(List<Date> values) {
            addCriterion("CLOUD_CHANGE_TIME not in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeBetween(Date value1, Date value2) {
            addCriterion("CLOUD_CHANGE_TIME between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotBetween(Date value1, Date value2) {
            addCriterion("CLOUD_CHANGE_TIME not between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNull() {
            addCriterion("ONLY_ID is null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNotNull() {
            addCriterion("ONLY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdEqualTo(String value) {
            addCriterion("ONLY_ID =", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotEqualTo(String value) {
            addCriterion("ONLY_ID <>", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThan(String value) {
            addCriterion("ONLY_ID >", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThanOrEqualTo(String value) {
            addCriterion("ONLY_ID >=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThan(String value) {
            addCriterion("ONLY_ID <", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThanOrEqualTo(String value) {
            addCriterion("ONLY_ID <=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLike(String value) {
            addCriterion("ONLY_ID like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotLike(String value) {
            addCriterion("ONLY_ID not like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIn(List<String> values) {
            addCriterion("ONLY_ID in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotIn(List<String> values) {
            addCriterion("ONLY_ID not in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdBetween(String value1, String value2) {
            addCriterion("ONLY_ID between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotBetween(String value1, String value2) {
            addCriterion("ONLY_ID not between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeIsNull() {
            addCriterion("COLLECTION_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeIsNotNull() {
            addCriterion("COLLECTION_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeEqualTo(Date value) {
            addCriterion("COLLECTION_TIME =", value, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeNotEqualTo(Date value) {
            addCriterion("COLLECTION_TIME <>", value, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeGreaterThan(Date value) {
            addCriterion("COLLECTION_TIME >", value, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("COLLECTION_TIME >=", value, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeLessThan(Date value) {
            addCriterion("COLLECTION_TIME <", value, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeLessThanOrEqualTo(Date value) {
            addCriterion("COLLECTION_TIME <=", value, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeIn(List<Date> values) {
            addCriterion("COLLECTION_TIME in", values, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeNotIn(List<Date> values) {
            addCriterion("COLLECTION_TIME not in", values, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeBetween(Date value1, Date value2) {
            addCriterion("COLLECTION_TIME between", value1, value2, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andCollectionTimeNotBetween(Date value1, Date value2) {
            addCriterion("COLLECTION_TIME not between", value1, value2, "collectionTime");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNull() {
            addCriterion("TEMPERATURE is null");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNotNull() {
            addCriterion("TEMPERATURE is not null");
            return (Criteria) this;
        }

        public Criteria andTemperatureEqualTo(Double value) {
            addCriterion("TEMPERATURE =", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotEqualTo(Double value) {
            addCriterion("TEMPERATURE <>", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThan(Double value) {
            addCriterion("TEMPERATURE >", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThanOrEqualTo(Double value) {
            addCriterion("TEMPERATURE >=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThan(Double value) {
            addCriterion("TEMPERATURE <", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThanOrEqualTo(Double value) {
            addCriterion("TEMPERATURE <=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureIn(List<Double> values) {
            addCriterion("TEMPERATURE in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotIn(List<Double> values) {
            addCriterion("TEMPERATURE not in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureBetween(Double value1, Double value2) {
            addCriterion("TEMPERATURE between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotBetween(Double value1, Double value2) {
            addCriterion("TEMPERATURE not between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andChannelIsNull() {
            addCriterion("CHANNEL is null");
            return (Criteria) this;
        }

        public Criteria andChannelIsNotNull() {
            addCriterion("CHANNEL is not null");
            return (Criteria) this;
        }

        public Criteria andChannelEqualTo(String value) {
            addCriterion("CHANNEL =", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotEqualTo(String value) {
            addCriterion("CHANNEL <>", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelGreaterThan(String value) {
            addCriterion("CHANNEL >", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNEL >=", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLessThan(String value) {
            addCriterion("CHANNEL <", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLessThanOrEqualTo(String value) {
            addCriterion("CHANNEL <=", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLike(String value) {
            addCriterion("CHANNEL like", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotLike(String value) {
            addCriterion("CHANNEL not like", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelIn(List<String> values) {
            addCriterion("CHANNEL in", values, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotIn(List<String> values) {
            addCriterion("CHANNEL not in", values, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelBetween(String value1, String value2) {
            addCriterion("CHANNEL between", value1, value2, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotBetween(String value1, String value2) {
            addCriterion("CHANNEL not between", value1, value2, "channel");
            return (Criteria) this;
        }

        public Criteria andComponentIsNull() {
            addCriterion("COMPONENT is null");
            return (Criteria) this;
        }

        public Criteria andComponentIsNotNull() {
            addCriterion("COMPONENT is not null");
            return (Criteria) this;
        }

        public Criteria andComponentEqualTo(String value) {
            addCriterion("COMPONENT =", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotEqualTo(String value) {
            addCriterion("COMPONENT <>", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentGreaterThan(String value) {
            addCriterion("COMPONENT >", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentGreaterThanOrEqualTo(String value) {
            addCriterion("COMPONENT >=", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentLessThan(String value) {
            addCriterion("COMPONENT <", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentLessThanOrEqualTo(String value) {
            addCriterion("COMPONENT <=", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentLike(String value) {
            addCriterion("COMPONENT like", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotLike(String value) {
            addCriterion("COMPONENT not like", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentIn(List<String> values) {
            addCriterion("COMPONENT in", values, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotIn(List<String> values) {
            addCriterion("COMPONENT not in", values, "component");
            return (Criteria) this;
        }

        public Criteria andComponentBetween(String value1, String value2) {
            addCriterion("COMPONENT between", value1, value2, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotBetween(String value1, String value2) {
            addCriterion("COMPONENT not between", value1, value2, "component");
            return (Criteria) this;
        }

        public Criteria andComponentAmountIsNull() {
            addCriterion("COMPONENT_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andComponentAmountIsNotNull() {
            addCriterion("COMPONENT_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andComponentAmountEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT =", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountNotEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT <>", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountGreaterThan(Long value) {
            addCriterion("COMPONENT_AMOUNT >", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT >=", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountLessThan(Long value) {
            addCriterion("COMPONENT_AMOUNT <", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountLessThanOrEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT <=", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountIn(List<Long> values) {
            addCriterion("COMPONENT_AMOUNT in", values, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountNotIn(List<Long> values) {
            addCriterion("COMPONENT_AMOUNT not in", values, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountBetween(Long value1, Long value2) {
            addCriterion("COMPONENT_AMOUNT between", value1, value2, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountNotBetween(Long value1, Long value2) {
            addCriterion("COMPONENT_AMOUNT not between", value1, value2, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("START_TIME is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("START_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("START_TIME =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("START_TIME <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("START_TIME >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("START_TIME >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("START_TIME <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("START_TIME <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("START_TIME in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("START_TIME not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("START_TIME between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("START_TIME not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andGuidanceIsNull() {
            addCriterion("GUIDANCE is null");
            return (Criteria) this;
        }

        public Criteria andGuidanceIsNotNull() {
            addCriterion("GUIDANCE is not null");
            return (Criteria) this;
        }

        public Criteria andGuidanceEqualTo(String value) {
            addCriterion("GUIDANCE =", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceNotEqualTo(String value) {
            addCriterion("GUIDANCE <>", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceGreaterThan(String value) {
            addCriterion("GUIDANCE >", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceGreaterThanOrEqualTo(String value) {
            addCriterion("GUIDANCE >=", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceLessThan(String value) {
            addCriterion("GUIDANCE <", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceLessThanOrEqualTo(String value) {
            addCriterion("GUIDANCE <=", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceLike(String value) {
            addCriterion("GUIDANCE like", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceNotLike(String value) {
            addCriterion("GUIDANCE not like", value, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceIn(List<String> values) {
            addCriterion("GUIDANCE in", values, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceNotIn(List<String> values) {
            addCriterion("GUIDANCE not in", values, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceBetween(String value1, String value2) {
            addCriterion("GUIDANCE between", value1, value2, "guidance");
            return (Criteria) this;
        }

        public Criteria andGuidanceNotBetween(String value1, String value2) {
            addCriterion("GUIDANCE not between", value1, value2, "guidance");
            return (Criteria) this;
        }

        public Criteria andObservationIsNull() {
            addCriterion("OBSERVATION is null");
            return (Criteria) this;
        }

        public Criteria andObservationIsNotNull() {
            addCriterion("OBSERVATION is not null");
            return (Criteria) this;
        }

        public Criteria andObservationEqualTo(String value) {
            addCriterion("OBSERVATION =", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotEqualTo(String value) {
            addCriterion("OBSERVATION <>", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationGreaterThan(String value) {
            addCriterion("OBSERVATION >", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationGreaterThanOrEqualTo(String value) {
            addCriterion("OBSERVATION >=", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationLessThan(String value) {
            addCriterion("OBSERVATION <", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationLessThanOrEqualTo(String value) {
            addCriterion("OBSERVATION <=", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationLike(String value) {
            addCriterion("OBSERVATION like", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotLike(String value) {
            addCriterion("OBSERVATION not like", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationIn(List<String> values) {
            addCriterion("OBSERVATION in", values, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotIn(List<String> values) {
            addCriterion("OBSERVATION not in", values, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationBetween(String value1, String value2) {
            addCriterion("OBSERVATION between", value1, value2, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotBetween(String value1, String value2) {
            addCriterion("OBSERVATION not between", value1, value2, "observation");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionIsNull() {
            addCriterion("TRANSFUSION_REACTION is null");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionIsNotNull() {
            addCriterion("TRANSFUSION_REACTION is not null");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION =", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION <>", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionGreaterThan(String value) {
            addCriterion("TRANSFUSION_REACTION >", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION >=", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionLessThan(String value) {
            addCriterion("TRANSFUSION_REACTION <", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionLessThanOrEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION <=", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionLike(String value) {
            addCriterion("TRANSFUSION_REACTION like", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotLike(String value) {
            addCriterion("TRANSFUSION_REACTION not like", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionIn(List<String> values) {
            addCriterion("TRANSFUSION_REACTION in", values, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotIn(List<String> values) {
            addCriterion("TRANSFUSION_REACTION not in", values, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionBetween(String value1, String value2) {
            addCriterion("TRANSFUSION_REACTION between", value1, value2, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotBetween(String value1, String value2) {
            addCriterion("TRANSFUSION_REACTION not between", value1, value2, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andAllergyIsNull() {
            addCriterion("ALLERGY is null");
            return (Criteria) this;
        }

        public Criteria andAllergyIsNotNull() {
            addCriterion("ALLERGY is not null");
            return (Criteria) this;
        }

        public Criteria andAllergyEqualTo(Date value) {
            addCriterion("ALLERGY =", value, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyNotEqualTo(Date value) {
            addCriterion("ALLERGY <>", value, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyGreaterThan(Date value) {
            addCriterion("ALLERGY >", value, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyGreaterThanOrEqualTo(Date value) {
            addCriterion("ALLERGY >=", value, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyLessThan(Date value) {
            addCriterion("ALLERGY <", value, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyLessThanOrEqualTo(Date value) {
            addCriterion("ALLERGY <=", value, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyIn(List<Date> values) {
            addCriterion("ALLERGY in", values, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyNotIn(List<Date> values) {
            addCriterion("ALLERGY not in", values, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyBetween(Date value1, Date value2) {
            addCriterion("ALLERGY between", value1, value2, "allergy");
            return (Criteria) this;
        }

        public Criteria andAllergyNotBetween(Date value1, Date value2) {
            addCriterion("ALLERGY not between", value1, value2, "allergy");
            return (Criteria) this;
        }

        public Criteria andFeverIsNull() {
            addCriterion("FEVER is null");
            return (Criteria) this;
        }

        public Criteria andFeverIsNotNull() {
            addCriterion("FEVER is not null");
            return (Criteria) this;
        }

        public Criteria andFeverEqualTo(Date value) {
            addCriterion("FEVER =", value, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverNotEqualTo(Date value) {
            addCriterion("FEVER <>", value, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverGreaterThan(Date value) {
            addCriterion("FEVER >", value, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverGreaterThanOrEqualTo(Date value) {
            addCriterion("FEVER >=", value, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverLessThan(Date value) {
            addCriterion("FEVER <", value, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverLessThanOrEqualTo(Date value) {
            addCriterion("FEVER <=", value, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverIn(List<Date> values) {
            addCriterion("FEVER in", values, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverNotIn(List<Date> values) {
            addCriterion("FEVER not in", values, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverBetween(Date value1, Date value2) {
            addCriterion("FEVER between", value1, value2, "fever");
            return (Criteria) this;
        }

        public Criteria andFeverNotBetween(Date value1, Date value2) {
            addCriterion("FEVER not between", value1, value2, "fever");
            return (Criteria) this;
        }

        public Criteria andHemolysisIsNull() {
            addCriterion("HEMOLYSIS is null");
            return (Criteria) this;
        }

        public Criteria andHemolysisIsNotNull() {
            addCriterion("HEMOLYSIS is not null");
            return (Criteria) this;
        }

        public Criteria andHemolysisEqualTo(Date value) {
            addCriterion("HEMOLYSIS =", value, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisNotEqualTo(Date value) {
            addCriterion("HEMOLYSIS <>", value, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisGreaterThan(Date value) {
            addCriterion("HEMOLYSIS >", value, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisGreaterThanOrEqualTo(Date value) {
            addCriterion("HEMOLYSIS >=", value, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisLessThan(Date value) {
            addCriterion("HEMOLYSIS <", value, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisLessThanOrEqualTo(Date value) {
            addCriterion("HEMOLYSIS <=", value, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisIn(List<Date> values) {
            addCriterion("HEMOLYSIS in", values, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisNotIn(List<Date> values) {
            addCriterion("HEMOLYSIS not in", values, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisBetween(Date value1, Date value2) {
            addCriterion("HEMOLYSIS between", value1, value2, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andHemolysisNotBetween(Date value1, Date value2) {
            addCriterion("HEMOLYSIS not between", value1, value2, "hemolysis");
            return (Criteria) this;
        }

        public Criteria andLargeDoseIsNull() {
            addCriterion("LARGE_DOSE is null");
            return (Criteria) this;
        }

        public Criteria andLargeDoseIsNotNull() {
            addCriterion("LARGE_DOSE is not null");
            return (Criteria) this;
        }

        public Criteria andLargeDoseEqualTo(Date value) {
            addCriterion("LARGE_DOSE =", value, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseNotEqualTo(Date value) {
            addCriterion("LARGE_DOSE <>", value, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseGreaterThan(Date value) {
            addCriterion("LARGE_DOSE >", value, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseGreaterThanOrEqualTo(Date value) {
            addCriterion("LARGE_DOSE >=", value, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseLessThan(Date value) {
            addCriterion("LARGE_DOSE <", value, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseLessThanOrEqualTo(Date value) {
            addCriterion("LARGE_DOSE <=", value, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseIn(List<Date> values) {
            addCriterion("LARGE_DOSE in", values, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseNotIn(List<Date> values) {
            addCriterion("LARGE_DOSE not in", values, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseBetween(Date value1, Date value2) {
            addCriterion("LARGE_DOSE between", value1, value2, "largeDose");
            return (Criteria) this;
        }

        public Criteria andLargeDoseNotBetween(Date value1, Date value2) {
            addCriterion("LARGE_DOSE not between", value1, value2, "largeDose");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("END_TIME is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("END_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("END_TIME =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("END_TIME <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("END_TIME >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("END_TIME >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("END_TIME <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("END_TIME <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("END_TIME in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("END_TIME not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("END_TIME between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("END_TIME not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andNurseIsNull() {
            addCriterion("NURSE is null");
            return (Criteria) this;
        }

        public Criteria andNurseIsNotNull() {
            addCriterion("NURSE is not null");
            return (Criteria) this;
        }

        public Criteria andNurseEqualTo(String value) {
            addCriterion("NURSE =", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseNotEqualTo(String value) {
            addCriterion("NURSE <>", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseGreaterThan(String value) {
            addCriterion("NURSE >", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseGreaterThanOrEqualTo(String value) {
            addCriterion("NURSE >=", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseLessThan(String value) {
            addCriterion("NURSE <", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseLessThanOrEqualTo(String value) {
            addCriterion("NURSE <=", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseLike(String value) {
            addCriterion("NURSE like", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseNotLike(String value) {
            addCriterion("NURSE not like", value, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseIn(List<String> values) {
            addCriterion("NURSE in", values, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseNotIn(List<String> values) {
            addCriterion("NURSE not in", values, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseBetween(String value1, String value2) {
            addCriterion("NURSE between", value1, value2, "nurse");
            return (Criteria) this;
        }

        public Criteria andNurseNotBetween(String value1, String value2) {
            addCriterion("NURSE not between", value1, value2, "nurse");
            return (Criteria) this;
        }

        public Criteria andApplyNoIsNull() {
            addCriterion("APPLY_NO is null");
            return (Criteria) this;
        }

        public Criteria andApplyNoIsNotNull() {
            addCriterion("APPLY_NO is not null");
            return (Criteria) this;
        }

        public Criteria andApplyNoEqualTo(String value) {
            addCriterion("APPLY_NO =", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoNotEqualTo(String value) {
            addCriterion("APPLY_NO <>", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoGreaterThan(String value) {
            addCriterion("APPLY_NO >", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_NO >=", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoLessThan(String value) {
            addCriterion("APPLY_NO <", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoLessThanOrEqualTo(String value) {
            addCriterion("APPLY_NO <=", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoLike(String value) {
            addCriterion("APPLY_NO like", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoNotLike(String value) {
            addCriterion("APPLY_NO not like", value, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoIn(List<String> values) {
            addCriterion("APPLY_NO in", values, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoNotIn(List<String> values) {
            addCriterion("APPLY_NO not in", values, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoBetween(String value1, String value2) {
            addCriterion("APPLY_NO between", value1, value2, "applyNo");
            return (Criteria) this;
        }

        public Criteria andApplyNoNotBetween(String value1, String value2) {
            addCriterion("APPLY_NO not between", value1, value2, "applyNo");
            return (Criteria) this;
        }

        public Criteria andBloodBagIsNull() {
            addCriterion("BLOOD_BAG is null");
            return (Criteria) this;
        }

        public Criteria andBloodBagIsNotNull() {
            addCriterion("BLOOD_BAG is not null");
            return (Criteria) this;
        }

        public Criteria andBloodBagEqualTo(String value) {
            addCriterion("BLOOD_BAG =", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagNotEqualTo(String value) {
            addCriterion("BLOOD_BAG <>", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagGreaterThan(String value) {
            addCriterion("BLOOD_BAG >", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagGreaterThanOrEqualTo(String value) {
            addCriterion("BLOOD_BAG >=", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagLessThan(String value) {
            addCriterion("BLOOD_BAG <", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagLessThanOrEqualTo(String value) {
            addCriterion("BLOOD_BAG <=", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagLike(String value) {
            addCriterion("BLOOD_BAG like", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagNotLike(String value) {
            addCriterion("BLOOD_BAG not like", value, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagIn(List<String> values) {
            addCriterion("BLOOD_BAG in", values, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagNotIn(List<String> values) {
            addCriterion("BLOOD_BAG not in", values, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagBetween(String value1, String value2) {
            addCriterion("BLOOD_BAG between", value1, value2, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andBloodBagNotBetween(String value1, String value2) {
            addCriterion("BLOOD_BAG not between", value1, value2, "bloodBag");
            return (Criteria) this;
        }

        public Criteria andComponentNameIsNull() {
            addCriterion("COMPONENT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andComponentNameIsNotNull() {
            addCriterion("COMPONENT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andComponentNameEqualTo(String value) {
            addCriterion("COMPONENT_NAME =", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameNotEqualTo(String value) {
            addCriterion("COMPONENT_NAME <>", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameGreaterThan(String value) {
            addCriterion("COMPONENT_NAME >", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameGreaterThanOrEqualTo(String value) {
            addCriterion("COMPONENT_NAME >=", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameLessThan(String value) {
            addCriterion("COMPONENT_NAME <", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameLessThanOrEqualTo(String value) {
            addCriterion("COMPONENT_NAME <=", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameLike(String value) {
            addCriterion("COMPONENT_NAME like", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameNotLike(String value) {
            addCriterion("COMPONENT_NAME not like", value, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameIn(List<String> values) {
            addCriterion("COMPONENT_NAME in", values, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameNotIn(List<String> values) {
            addCriterion("COMPONENT_NAME not in", values, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameBetween(String value1, String value2) {
            addCriterion("COMPONENT_NAME between", value1, value2, "componentName");
            return (Criteria) this;
        }

        public Criteria andComponentNameNotBetween(String value1, String value2) {
            addCriterion("COMPONENT_NAME not between", value1, value2, "componentName");
            return (Criteria) this;
        }

        public Criteria andApplyTypeIsNull() {
            addCriterion("APPLY_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andApplyTypeIsNotNull() {
            addCriterion("APPLY_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTypeEqualTo(String value) {
            addCriterion("APPLY_TYPE =", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotEqualTo(String value) {
            addCriterion("APPLY_TYPE <>", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeGreaterThan(String value) {
            addCriterion("APPLY_TYPE >", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_TYPE >=", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeLessThan(String value) {
            addCriterion("APPLY_TYPE <", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeLessThanOrEqualTo(String value) {
            addCriterion("APPLY_TYPE <=", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeLike(String value) {
            addCriterion("APPLY_TYPE like", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotLike(String value) {
            addCriterion("APPLY_TYPE not like", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeIn(List<String> values) {
            addCriterion("APPLY_TYPE in", values, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotIn(List<String> values) {
            addCriterion("APPLY_TYPE not in", values, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeBetween(String value1, String value2) {
            addCriterion("APPLY_TYPE between", value1, value2, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotBetween(String value1, String value2) {
            addCriterion("APPLY_TYPE not between", value1, value2, "applyType");
            return (Criteria) this;
        }

        public Criteria andPurposesIsNull() {
            addCriterion("PURPOSES is null");
            return (Criteria) this;
        }

        public Criteria andPurposesIsNotNull() {
            addCriterion("PURPOSES is not null");
            return (Criteria) this;
        }

        public Criteria andPurposesEqualTo(String value) {
            addCriterion("PURPOSES =", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesNotEqualTo(String value) {
            addCriterion("PURPOSES <>", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesGreaterThan(String value) {
            addCriterion("PURPOSES >", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesGreaterThanOrEqualTo(String value) {
            addCriterion("PURPOSES >=", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesLessThan(String value) {
            addCriterion("PURPOSES <", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesLessThanOrEqualTo(String value) {
            addCriterion("PURPOSES <=", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesLike(String value) {
            addCriterion("PURPOSES like", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesNotLike(String value) {
            addCriterion("PURPOSES not like", value, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesIn(List<String> values) {
            addCriterion("PURPOSES in", values, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesNotIn(List<String> values) {
            addCriterion("PURPOSES not in", values, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesBetween(String value1, String value2) {
            addCriterion("PURPOSES between", value1, value2, "purposes");
            return (Criteria) this;
        }

        public Criteria andPurposesNotBetween(String value1, String value2) {
            addCriterion("PURPOSES not between", value1, value2, "purposes");
            return (Criteria) this;
        }
    }

    /**
     * MR_TRANSFUSION_OBSERVATION
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * MR_TRANSFUSION_OBSERVATION 2020-09-29
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}